<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;
class TongUserMonthMoney extends Model
{
    use HasDateTimeFormatter;
    use SoftDeletes;

    protected $table = 'tong_user_month_money';

    protected $guarded = [];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasOne
     */
    public function uInfo(){
        return $this->hasOne(TongUser::class,'id','u_id');
    }
}
